home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 September
/
PCWorld_2008-09_cd.bin
/
v cisle
/
sadanastroju
/
clipmarks-3.5.0-fx.xpi
/
chrome
/
clipmarks.jar
/
content
/
orange-lines.xul
< prev
next >
Wrap
Extensible Markup Language
|
2007-11-16
|
1KB
|
34 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<dialog id="Clipmarks_SaveOverlimitDialog" title="Orange Lines"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept,cancel" buttonlabelaccept="Disable them now" buttonlabelcancel="cancel"
ondialogaccept="return accept_click();"
ondialogcancel="return cancel_click();"
onload="window_load();">
<script>
function window_load() {
document.documentElement.getButton("accept").focus();
document.documentElement.getButton("cancel").setAttribute('label', (window.opener.Clipmarks_Preferences.get('extensions.clipmarks.use-borders', 1) == 1 ? 'Disable orange lines' : 'Enable orange lines'));
document.documentElement.getButton("accept").setAttribute('label', 'OK');
}
function accept_click() {
return true;
}
function cancel_click() {
//if (window.opener.Clipmarks_Preferences.get('extensions.clipmarks.use-borders', 1) == 1) {
window.opener.Clipmarks_EnableOrangeLines();
//}
return true;
}
</script>
<image src="http://content.clipmarks.com/images/orange_lines_dialog2.png" width="297" height="186" style="margin-bottom:4px;" />
</dialog>